<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/geo3dml/CornerPointGrid.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_acc7f90eaa859a07dba55a8b62805b11.html">geo3dml</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">CornerPointGrid.h</div></div>
</div><!--header-->
<div class="contents">
<a href="geo3dml_2_corner_point_grid_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// UTF-8编码</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;<a class="code" href="_volume_8h.html">Volume.h</a>&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegeo3dml.html">geo3dml</a> {</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span> </div>
<div class="foldopen" id="foldopen00008" data-start="{" data-end="};">
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_corner_point_grid.html">    8</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_corner_point_grid.html">CornerPointGrid</a> : <span class="keyword">public</span> <a class="code hl_class" href="classgeo3dml_1_1_volume.html">Volume</a> {</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_corner_point_grid.html#a7128d598d7ad2808e14a95df3ce91471">   10</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_corner_point_grid.html#a7128d598d7ad2808e14a95df3ce91471">CornerPointGrid</a>();</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_corner_point_grid.html#aab744dc46f9db3421aecaaa79128ff32">   15</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_corner_point_grid.html#aab744dc46f9db3421aecaaa79128ff32">CornerPointGrid</a>(<span class="keywordtype">int</span> dimI, <span class="keywordtype">int</span> dimJ, <span class="keywordtype">int</span> dimK);</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_corner_point_grid.html#a031b1db41b13306dd2c7d4a9110310fd">   16</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classgeo3dml_1_1_corner_point_grid.html#a031b1db41b13306dd2c7d4a9110310fd">~CornerPointGrid</a>();</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_corner_point_grid.html#a786dd82e16e85f8c4f3ffd49067141c6">   22</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgeo3dml_1_1_corner_point_grid.html#a786dd82e16e85f8c4f3ffd49067141c6">Init</a>(<span class="keywordtype">int</span> dimI, <span class="keywordtype">int</span> dimJ, <span class="keywordtype">int</span> dimK) = 0;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_corner_point_grid.html#af550ec6425e7fb0686b2d0f9413f7856">   29</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_corner_point_grid.html#af550ec6425e7fb0686b2d0f9413f7856">GetDimensions</a>(<span class="keywordtype">int</span>&amp; i, <span class="keywordtype">int</span>&amp; j, <span class="keywordtype">int</span>&amp; k) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_corner_point_grid.html#a1a8c7e3e985daca9c945193a464fa6f8">   35</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_corner_point_grid.html#a1a8c7e3e985daca9c945193a464fa6f8">AddNextPillar</a>(<span class="keywordtype">double</span> headPos[3], <span class="keywordtype">double</span> tailPos[3]) = 0;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_corner_point_grid.html#af20358ab6728738ef65310bb573bbf9b">   51</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_corner_point_grid.html#af20358ab6728738ef65310bb573bbf9b">AddNextCell</a>(</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>            <span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j, <span class="keywordtype">int</span> k,</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>            <span class="keywordtype">double</span> bottomFrontLeft[3], <span class="keywordtype">double</span> bottomFrontRight[3],</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>            <span class="keywordtype">double</span> bottomBackLeft[3], <span class="keywordtype">double</span> bottomBackRight[3],</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>            <span class="keywordtype">double</span> topFrontLeft[3], <span class="keywordtype">double</span> topFrontRight[3],</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>            <span class="keywordtype">double</span> topBackLeft[3], <span class="keywordtype">double</span> topBackRight[3],</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>            <span class="keywordtype">bool</span> isValid = <span class="keyword">true</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>        ) = 0;</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_corner_point_grid.html#aa56b6fa74bb5521157b3a67adf165543">   60</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_corner_point_grid.html#aa56b6fa74bb5521157b3a67adf165543">SetCellValidation</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j, <span class="keywordtype">int</span> k, <span class="keywordtype">bool</span> beValid = <span class="keyword">true</span>) = 0;</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_corner_point_grid.html#ac03d12e75b1b65cfc38ebb083a8cd79e">   62</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_corner_point_grid.html#ac03d12e75b1b65cfc38ebb083a8cd79e">GetPillarAt</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j, <span class="keywordtype">double</span> headPos[3], <span class="keywordtype">double</span> tailPos[3]) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_corner_point_grid.html#a18296ba710c2a22266186cfa951683a3">   63</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_corner_point_grid.html#a18296ba710c2a22266186cfa951683a3">GetCellAt</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j, <span class="keywordtype">int</span> k,</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>            <span class="keywordtype">double</span> bottomFrontLeft[3], <span class="keywordtype">double</span> bottomFrontRight[3],</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>            <span class="keywordtype">double</span> bottomBackLeft[3], <span class="keywordtype">double</span> bottomBackRight[3],</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>            <span class="keywordtype">double</span> topFrontLeft[3], <span class="keywordtype">double</span> topFrontRight[3],</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>            <span class="keywordtype">double</span> topBackLeft[3], <span class="keywordtype">double</span> topBackRight[3],</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>            <span class="keywordtype">bool</span>&amp; isValid) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>    };</div>
</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>}</div>
<div class="ttc" id="a_volume_8h_html"><div class="ttname"><a href="_volume_8h.html">Volume.h</a></div></div>
<div class="ttc" id="aclassgeo3dml_1_1_corner_point_grid_html"><div class="ttname"><a href="classgeo3dml_1_1_corner_point_grid.html">geo3dml::CornerPointGrid</a></div><div class="ttdef"><b>Definition</b> CornerPointGrid.h:8</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_corner_point_grid_html_a031b1db41b13306dd2c7d4a9110310fd"><div class="ttname"><a href="classgeo3dml_1_1_corner_point_grid.html#a031b1db41b13306dd2c7d4a9110310fd">geo3dml::CornerPointGrid::~CornerPointGrid</a></div><div class="ttdeci">virtual ~CornerPointGrid()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_corner_point_grid_html_a18296ba710c2a22266186cfa951683a3"><div class="ttname"><a href="classgeo3dml_1_1_corner_point_grid.html#a18296ba710c2a22266186cfa951683a3">geo3dml::CornerPointGrid::GetCellAt</a></div><div class="ttdeci">virtual void GetCellAt(int i, int j, int k, double bottomFrontLeft[3], double bottomFrontRight[3], double bottomBackLeft[3], double bottomBackRight[3], double topFrontLeft[3], double topFrontRight[3], double topBackLeft[3], double topBackRight[3], bool &amp;isValid) const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_corner_point_grid_html_a1a8c7e3e985daca9c945193a464fa6f8"><div class="ttname"><a href="classgeo3dml_1_1_corner_point_grid.html#a1a8c7e3e985daca9c945193a464fa6f8">geo3dml::CornerPointGrid::AddNextPillar</a></div><div class="ttdeci">virtual void AddNextPillar(double headPos[3], double tailPos[3])=0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_corner_point_grid_html_a7128d598d7ad2808e14a95df3ce91471"><div class="ttname"><a href="classgeo3dml_1_1_corner_point_grid.html#a7128d598d7ad2808e14a95df3ce91471">geo3dml::CornerPointGrid::CornerPointGrid</a></div><div class="ttdeci">CornerPointGrid()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_corner_point_grid_html_a786dd82e16e85f8c4f3ffd49067141c6"><div class="ttname"><a href="classgeo3dml_1_1_corner_point_grid.html#a786dd82e16e85f8c4f3ffd49067141c6">geo3dml::CornerPointGrid::Init</a></div><div class="ttdeci">virtual bool Init(int dimI, int dimJ, int dimK)=0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_corner_point_grid_html_aa56b6fa74bb5521157b3a67adf165543"><div class="ttname"><a href="classgeo3dml_1_1_corner_point_grid.html#aa56b6fa74bb5521157b3a67adf165543">geo3dml::CornerPointGrid::SetCellValidation</a></div><div class="ttdeci">virtual void SetCellValidation(int i, int j, int k, bool beValid=true)=0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_corner_point_grid_html_aab744dc46f9db3421aecaaa79128ff32"><div class="ttname"><a href="classgeo3dml_1_1_corner_point_grid.html#aab744dc46f9db3421aecaaa79128ff32">geo3dml::CornerPointGrid::CornerPointGrid</a></div><div class="ttdeci">CornerPointGrid(int dimI, int dimJ, int dimK)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_corner_point_grid_html_ac03d12e75b1b65cfc38ebb083a8cd79e"><div class="ttname"><a href="classgeo3dml_1_1_corner_point_grid.html#ac03d12e75b1b65cfc38ebb083a8cd79e">geo3dml::CornerPointGrid::GetPillarAt</a></div><div class="ttdeci">virtual void GetPillarAt(int i, int j, double headPos[3], double tailPos[3]) const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_corner_point_grid_html_af20358ab6728738ef65310bb573bbf9b"><div class="ttname"><a href="classgeo3dml_1_1_corner_point_grid.html#af20358ab6728738ef65310bb573bbf9b">geo3dml::CornerPointGrid::AddNextCell</a></div><div class="ttdeci">virtual void AddNextCell(int i, int j, int k, double bottomFrontLeft[3], double bottomFrontRight[3], double bottomBackLeft[3], double bottomBackRight[3], double topFrontLeft[3], double topFrontRight[3], double topBackLeft[3], double topBackRight[3], bool isValid=true)=0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_corner_point_grid_html_af550ec6425e7fb0686b2d0f9413f7856"><div class="ttname"><a href="classgeo3dml_1_1_corner_point_grid.html#af550ec6425e7fb0686b2d0f9413f7856">geo3dml::CornerPointGrid::GetDimensions</a></div><div class="ttdeci">virtual void GetDimensions(int &amp;i, int &amp;j, int &amp;k) const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_volume_html"><div class="ttname"><a href="classgeo3dml_1_1_volume.html">geo3dml::Volume</a></div><div class="ttdoc">体数据的基类。</div><div class="ttdef"><b>Definition</b> Volume.h:9</div></div>
<div class="ttc" id="anamespacegeo3dml_html"><div class="ttname"><a href="namespacegeo3dml.html">geo3dml</a></div><div class="ttdef"><b>Definition</b> AbstractMetadata.h:6</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
